package com.xxgc.qinglian.qinglianserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;
import org.dromara.mpe.processer.annotation.AutoDefine;
import org.dromara.mpe.processer.annotation.AutoMapper;
import org.dromara.mpe.processer.annotation.AutoRepository;

@AutoDefine
@AutoMapper
@AutoRepository
@Data
@Table(value = "qinglian_countdown", comment = "倒计时表")
public class CountdownEntity {
    @ColumnComment("倒计时ID")
    @ColumnId(mode = IdType.NONE ,comment = "倒计时主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private int id;
    @ColumnComment("倒计时天数")
    private int days;
    @ColumnComment("倒计时小时")
    private int hours;
    @ColumnComment("倒计时分钟")
    private int minutes;
    @ColumnComment("倒计时秒")
    private int seconds;
}
